package com.panda.mall.common.mallOrder.entity;

import javax.validation.constraints.NotNull;

import java.io.Serializable;


import com.baomidou.mybatisplus.annotation.TableName;
import com.panda.mall.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 订单配置表
* mall_order_setting
*/
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("mall_order_setting")
public class MallOrderSetting extends BaseEntity implements Serializable {

    /**
    * 主键id
    */
    @NotNull(message="[主键id]不能为空")
    @ApiModelProperty("主键id")
    private Long id;
    /**
    * 秒杀订单关闭时间
    */
    @ApiModelProperty("秒杀订单关闭时间")
    private Integer flashOvertime;
    /**
    * 正常订单关闭时间
    */
    @ApiModelProperty("正常订单关闭时间")
    private Integer normalOvertime;
    /**
    * 确认收货时间
    */
    @ApiModelProperty("确认收货时间")
    private Integer confirmOvertime;
    /**
    * 完成交易不能退货时间
    */
    @ApiModelProperty("完成交易不能退货时间")
    private Integer finishOvertime;
    /**
    * 用户会员等级
    */
    @ApiModelProperty("用户会员等级")
    private Integer userLevel;
}
